import Vue from 'vue'
import Router from 'vue-router'
import Login from "@/components/Login"
import Manager from "@/components/Manager"
import StateModel from "@/components/StateModel"
import TimeMonthModel from "@/components/TimeMonthModel"
import TraceAssiginment from "@/components/TraceAssiginment"
import TypeVue from "@/components/TypeVue"
import Tracelist from "@/components/Tracelist"

import TimeDayModel from "@/components/TimeDayModel"
import PriorityVue from "@/components/PriorityVue"
import RoleVue from "@/components/RoleVue"
import StateVue from "@/components/StateVue"
import SeverityVue from "@/components/SeverityVue"
import TraceFeedback from "@/components/TraceFeedback"
import UserVue from "@/components/UserVue"
import MemberVue from "@/components/MemberVue"
import PriorityModel from "@/components/PriorityModel"
import Typemodel from "@/components/Typemodel"
import ManageProject from "@/components/ManageProject"


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Login
    },
    {
      path: '/login',
      component: Login
    },
    {
      path: '/manager',
      component: Manager,
      children: [
        {
          path: '/uservue',
          component: UserVue
        },
        {
          path: '/membervue',
          component: MemberVue
        },
        {
          path: '/rolevue',
          component: RoleVue
        },
        {
          path: '/severityvue',
          component: SeverityVue
        },
        {
          path: '/priorityvue',
          component: PriorityVue
        },
        {
          path: '/typevue',
          component: TypeVue
        },
        {
          path: '/statevue',
          component: StateVue
        },
        {
          path: '/tracelist',
          component: Tracelist
        },
        {
          path: '/traceassignment',
          component: TraceAssiginment
        },
        {
          path: '/tracefeedback',
          component:TraceFeedback
        },
        {
          path: '/typemodel',
          component:Typemodel
        },
        {
          path: '/statemodel',
          component:StateModel
        },
        {
          path: '/priotitymodel',
          component:PriorityModel
        },
        {
          path: '/timedaymodel',
          component:TimeDayModel
        },
        {
          path: '/timemonthmodel',
          component:TimeMonthModel
        },
        {
          path:'/manageproject',
          component:ManageProject
        }
      ]
    },

  ]
})
